<extend name="Public/base"/>
<block name="body">
<form method="post" class="form-horizontal J_ajaxForm" action="{:U('export')}">
  <table class="table table-striped table-bordered table-hover" >
      <thead>
        <tr>
          <td>表</td>
          <td>表名</td>
          <td>行数</td>
          <td class="hidden-480">类型</td>
          <td class="hidden-480">编码</td>
          <td>大小({$total})</td>
          <td class="hidden-480">备注</td>
        </tr>
      </thead>
      <tbody >
        <foreach name="list" item="vo">
          <tr>
            <td width="5%" ><input type="checkbox" name="tables[]" value="{$vo.Name}" class="ids" checked="checked"></td>
            <td>{$vo.Name}</td>
            <td>{$vo.Rows}</td>
            <td class="hidden-480">{$vo.Engine}</td>
            <td class="hidden-480">{$vo.Collation}</td>
            <td>{$vo.size}</td>
            <td class="hidden-480">{$vo.Comment}</td>
          </tr>
        </foreach>
        <tr>
          <td colspan="7"><label>
              <input name="tableall" type="checkbox" class="check-all "  checked>
              全选</label></td>
        </tr>
      </tbody>
    </table>

  <div class="table_full">
    <div class="h_a">数据备份选项</div>
    
   <div class="tab-content">
    <div class="space-4"></div>
    
    <div class="form-group">
            <label class="col-sm-2 control-label "> 数据插入方式 	 </label>
            <div class="col-sm-10">
             <ul class="single_list cc">
            <li>
              <label class="mr20">
                <input type="radio" name="insertmethod" value="common" checked>
                普通方式</label>
              <span class="info">一条insert语句对应一个记录</span></li>
            <li>
              <label class="mr20">
                <input type="radio" name="insertmethod" value="extend">
                扩展插入</label>
              <span class="info">一条insert语句对应多个记录</span></li>
          </ul>
               </div>
          </div>
          
          
           <div class="space-4"></div>
          <div class="form-group">
            <label class="col-sm-2 control-label "> 分卷备份 </label>
            <div class="col-sm-10">
            <input type="text" class="input length_5 mr5" name="sizelimit" value="2048">
          KB  <span class="info">每个分卷文件长度（单位：KB）</span>
               </div>
          </div>
          
        <div class="space-4"></div>
          <div class="form-group">
            <label class="col-sm-2 control-label "> 压缩备份文件 </label>
            <div class="col-sm-10">
            
            <label class="radio inline"> <input type="radio"  name="MAIL_YANZHENG"   value="1"  checked >
            开 </label>
          <label class="radio inline"> <input type="radio"  name="MAIL_YANZHENG"   value="0"   >
            关 </label>
            <span class="info">压缩备份文件以减少占用的空间</span>
            </div>
               </div>
          </div>
          
     </div>
     
  </div>
   <div class="form-actions">
        <button class="btn btn-info ajax-post"   target-form="J_ajaxForm" type="submit">备份</button>
          </div>
          
        </form>
</block>
